package com.programmingeyeclient.user.service.impl;


import com.programmingeyeclient.user.entity.EduSubject;
import com.programmingeyeclient.user.mapper.EduSubjectMapper;
import com.programmingeyeclient.user.service.EduSubjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EduSubjectServiceImpl implements EduSubjectService {

    @Resource
    private EduSubjectMapper eduSubjectMapper;

    @Override
    public List<EduSubject> classifyAll() {
        return eduSubjectMapper.classifyAll();
    }
}
